<div id="login-holder">
	
	<div id="logo-login"></div>
	<div class="clear"></div>
	<div id="loginbox">
		<div id="login-inner">
                        
			<?php echo $form->create(array('url' => Router::url('/login', true), 'id'=>'fValidation')); ?>
			<table border="0" cellpadding="0" cellspacing="0">
			<tr>
                            <td colspan="2">
                                <?php echo $session->flash(); ?>
                            </td>
                        </tr>
			<tr>
                           <tr>
				<th>Username</th>
				<td><?php echo $form->input(
					'Login.username', 
					array(
						'id' 		=> 'username', 
						'type' 		=> 'text', 
						'tabindex'	=> 1 , 
						'label' 	=> false, 
						'div' 		=> false,
						'required' 	=> true,
						'class'     => 'login-inp'
						)
					); ?>
				</td>
			</tr>
			<tr>
				<th>Password</th>
				<td>
				<?php 
					echo $form->input(
						'Login.password', 
						array(
							'id' 		=> 'password', 
							'type' 		=> 'password', 
							'tabindex'	=> 2, 
							'label' 	=> false, 
							'div'		=> false,
							'required'  => true,
							'class'     => 'login-inp'	
						)
					); 
				?>
				</td>
			</tr>
                        
				<th></th>
				<td><?php 
					echo ($form->button('<span>Login</span>', 
					array(
						'id' => 'login_button', 
						'class' => 'submit-login'
					))); 
					?>
				</td>
			</tr>
			</table>
		</div>
 		<div class="clear"></div>
			<a href="" class="forgot-pwd">Forgot Password?</a>
 	</div>
 
	<div id="forgotbox">
		<div id="forgotbox-text">Please send us your email and we'll reset your password.</div>
		<div id="forgot-inner">
		<table border="0" cellpadding="0" cellspacing="0">
			<tr>
				<th>Email address:</th>
				<td><input type="text" value=""   class="login-inp" /></td>
			</tr>
			<tr>
				<th> </th>
				<td><input type="button" class="submit-login"  /></td>
			</tr>
		</table>
		</div>
		<div class="clear"></div>
		<a href="" class="back-login">Back to login</a>
	</div>
	
</div>
